package com.bsoft.gol.hcs.clinical.bean.req;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;
import java.util.List;

/**
 * @author tongtp
 * @version v0.1
 * @className PrescriptionInformationRequest
 * @description 处方信息入参
 * @create 2019-06-19 13:50
 **/
@XmlRootElement(name = "MsgBody")
public class PrescriptionInformationRequest implements Serializable {

    private String hospitalCode;

    private String patientCode;

    private String doctorCode;

    private String docId;

    private String doctorName;

    private String consultId;

    private String cardType;

    private String cardNumber;

    private String emergencyNumber;

    private String consultType;

    private String pharmacyCode;

	private Integer drugType;

	private String prescriptionId;

	private String onlinePrescriptionRecordId;

	private String diagnosisId;

	private String prescriptionNumber;

    private Integer boilSign;

    /**
     * 操作类型：0新增、1修改、2删除
     */
    private Integer operationType;

    private Integer drugNumber;

    private String prescriptionTakeWay;

    private String remark;
    //线下处方id
    private String hisPrescriptionId;

    //外延处方的机构代码
    private String epitaxialOrganizationId;

    //外延处方的机构名称
    private String epitaxialOrganizationName;

    public String getEpitaxialOrganizationName() {
        return epitaxialOrganizationName;
    }

    public void setEpitaxialOrganizationName(String epitaxialOrganizationName) {
        this.epitaxialOrganizationName = epitaxialOrganizationName;
    }

    public String getEpitaxialOrganizationId() {
        return epitaxialOrganizationId;
    }

    public void setEpitaxialOrganizationId(String epitaxialOrganizationId) {
        this.epitaxialOrganizationId = epitaxialOrganizationId;
    }

    private List<PrescriptionDrugRequest> prescriptionDrugList;

    public String getOnlinePrescriptionRecordId() {
        return onlinePrescriptionRecordId;
    }

    public void setOnlinePrescriptionRecordId(String onlinePrescriptionRecordId) {
        this.onlinePrescriptionRecordId = onlinePrescriptionRecordId;
    }

    public String getHisPrescriptionId() {
        return hisPrescriptionId;
    }

    public void setHisPrescriptionId(String hisPrescriptionId) {
        this.hisPrescriptionId = hisPrescriptionId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getPrescriptionTakeWay() {
        return prescriptionTakeWay;
    }

    public void setPrescriptionTakeWay(String prescriptionTakeWay) {
        this.prescriptionTakeWay = prescriptionTakeWay;
    }

    @XmlElement(name = "RecipeNumber")
    public String getPrescriptionNumber() {
        return prescriptionNumber;
    }

    public void setPrescriptionNumber(String prescriptionNumber) {
        this.prescriptionNumber = prescriptionNumber;
    }

    public String getDiagnosisId() {
        return diagnosisId;
    }

    public void setDiagnosisId(String diagnosisId) {
        this.diagnosisId = diagnosisId;
    }

    @Override
    public String toString() {
        return "PrescriptionInformationRequest{" +
                "hospitalCode='" + hospitalCode + '\'' +
                ", patientCode='" + patientCode + '\'' +
                ", doctorCode='" + doctorCode + '\'' +
                ", consultId=" + consultId +
                ", cardType='" + cardType + '\'' +
                ", cardNumber='" + cardNumber + '\'' +
                ", emergencyNumber='" + emergencyNumber + '\'' +
                ", consultType='" + consultType + '\'' +
                ", pharmacyCode='" + pharmacyCode + '\'' +
                ", drugType=" + drugType +
                ", prescriptionId='" + prescriptionId + '\'' +
                ", diagnosisId='" + diagnosisId + '\'' +
                ", prescriptionNumber='" + prescriptionNumber + '\'' +
                ", boilSign=" + boilSign +
                ", operationType=" + operationType +
                ", drugNumber=" + drugNumber +
                ", prescriptionDrugList=" + prescriptionDrugList +
                '}';
    }

    public String getConsultType() {
        return consultType;
    }

    public void setConsultType(String consultType) {
        this.consultType = consultType;
    }

    @XmlElement(name = "PharmacyId")
    public String getPharmacyCode() {
        return pharmacyCode;
    }

    public void setPharmacyCode(String pharmacyCode) {
        this.pharmacyCode = pharmacyCode;
    }

    public Integer getDrugNumber() {
        return drugNumber;
    }

    public void setDrugNumber(Integer drugNumber) {
        this.drugNumber = drugNumber;
    }

    @XmlElement(name = "DrugType")
    public Integer getDrugType() {
		return drugType;
	}

	public void setDrugType(Integer drugType) {
		this.drugType = drugType;
	}

    @XmlElementWrapper(name = "PrescriptionLists")
    @XmlElement(name = "PrescriptionList")
	public List<PrescriptionDrugRequest> getPrescriptionDrugList() {
		return prescriptionDrugList;
	}

	public void setPrescriptionDrugList(List<PrescriptionDrugRequest> prescriptionDrugList) {
		this.prescriptionDrugList = prescriptionDrugList;
	}

    @XmlElement(name = "PrescriptionRecordId")
	public String getPrescriptionId() {
		return prescriptionId;
	}

	public void setPrescriptionId(String prescriptionId) {
		this.prescriptionId = prescriptionId;
	}

    @XmlElement(name = "VisitOrganization")
    public String getHospitalCode() {
        return hospitalCode;
    }

    public void setHospitalCode(String hospitalCode) {
        this.hospitalCode = hospitalCode;
    }

    @XmlElement(name = "SourcePatientId")
    public String getPatientCode() {
        return patientCode;
    }

    public void setPatientCode(String patientCode) {
        this.patientCode = patientCode;
    }

    @XmlElement(name = "IdCardCode")
    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    @XmlElement(name = "IdCard")
    public String getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
    }

    @XmlElement(name = "VisitId")
    public String getEmergencyNumber() {
        return emergencyNumber;
    }

    public void setEmergencyNumber(String emergencyNumber) {
        this.emergencyNumber = emergencyNumber;
    }


    public String getDoctorCode() {
        return doctorCode;
    }

    public void setDoctorCode(String doctorCode) {
        this.doctorCode = doctorCode;
    }

    public String getConsultId() {
        return consultId;
    }

    public void setConsultId(String consultId) {
        this.consultId = consultId;
    }

    @XmlElement(name = "BoilSign")
    public Integer getBoilSign() {
        return boilSign;
    }

    public void setBoilSign(Integer boilSign) {
        this.boilSign = boilSign;
    }

    @XmlElement(name = "OperationType")
    public Integer getOperationType() {
        return operationType;
    }

    public void setOperationType(Integer operationType) {
        this.operationType = operationType;
    }

    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    public String getDocId() {
        return docId;
    }

    public void setDocId(String docId) {
        this.docId = docId;
    }
}
